package com.water.app.interfaces.Goods;

import com.water.app.Exceptions.DeleteException;
import com.water.app.Exceptions.isPassException;
import com.water.app.shop;
import com.water.app.shopParam;

import java.util.List;

public interface shopService {
    public shopParam selectShopParamById(int shopId) throws isPassException;

    public boolean insertShop(shop shop,Integer userId);

    public boolean updatePicture(String url,Integer shopId);

    public List<? extends shop> selectShopList(Integer userId);

    public boolean deleteShopById(Integer shopId) throws DeleteException;
}
